2 is printed to the monitor:
( 2 * 3 + 2 ) / 4 = ( 6 + 2 ) / 4 = 8 / 4 = 2 ----- -----
The () is evaluated first, which takes two steps because there are two operators.
For every left parenthesis "(" there must be a right parenthesis ")" and the two ( ) must enclose something that makes sense. The following is correct:
( 3 * 3 + 4 ) / 2.3
The following is not correct (it has a SYNTAX error):
( 3 * 3 + ) 4 / 2.3
Does the following program have a syntax error?
' Possible error ' PRINT "Answer is", (5 + 4) / 9 ) END